import axios from  './api'


export function getjsticket(){
    let url = '/jsticket'
    let params={
        params: { 'nonceStr':Math.random().toString(16).slice(2,15),'url': window.location.href.split('#')[0] } //window.location.href.split('#')[0] 
      }
    return  axios({
      url: url,
      method: "get",
      params
    }) 
}
